home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <!--This file is for validating plugin.xml of each plugin in sub-directories. Each plugin.xml should have reference
- to this schema.-->
- <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.fonlow.com"
- xmlns="http://www.fonlow.com">
-
- <xs:simpleType name="programType">
- <xs:restriction base="xs:string">
- <xs:enumeration value="exe"/>
- <xs:enumeration value="dll"/>
- <xs:enumeration value="wsh"/>
- <xs:enumeration value="url"/>
- </xs:restriction>
- </xs:simpleType>
-
- <xs:element name="plugin">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="info">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="id" type="xs:string" />
- <xs:element name="version" type="xs:string" />
- <xs:element name="author" type="xs:string" />
- <xs:element name="authorWebsite" type="xs:string" />
- <xs:element name="name" type="xs:string" />
- <xs:element name="description" type="xs:string" />
- <xs:element name="actionTypeToAct" type="xs:string" minOccurs="0" />
- <xs:element name="fieldNameToAct" type="xs:string" minOccurs="0" />
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="programs">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="program" minOccurs="1" maxOccurs="unbounded">
- <xs:complexType>
- <xs:attribute name="label" type="xs:string" use="required" />
- <xs:attribute name="hint" type="xs:string" use="required" />
- <xs:attribute name="type" type="programType" use="required" />
- <xs:attribute name="src" type="xs:string" use="required" />
- <xs:attribute name="urlHead" type="xs:string" use="optional" />
- <xs:attribute name="urlTail" type="xs:string" use="optional" />
- <xs:attribute name="func" type="xs:string" use="optional" />
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="type" type="xs:string" use="required" fixed="action" />
- </xs:complexType>
- </xs:element>
- </xs:schema>